package com.atguigu.day09.test.test;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/11/9 16:39
 * @注释  - public double area()：返回0.0
 *       - public double perimeter()：返回0.0
 *       - public String toString()：返回“面积：xxx，周长：xxx”
 */
public class Graphic {
    public double area(){
        return 0.0;
    }
    public double perimeter(){
        return 0.0;
    }
    public String toString(){
        return "面积: " + area() + "周长: " + perimeter();
    }
}
